/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package kyakya;

/**
 *
 * @author hartono
 */
public class User {
    public final static String MALE = "1";
    public final static String FEMALE = "0";    
       
    private int id;
    private String username;
    private String name;
    private String password;
    private String email;
    private String birthday;
    private String gender;
    private String about;
    private int postCount ; 
    private int commentCount;
    private String avatarPath;
    private int likeCount;
    private int dislikeCount;

    public String getAbout() {
        return about;
    }

    public void setAbout(String about) {
        this.about = about;
    }

    public String getAvatarPath() {
        return avatarPath;
    }

    public void setAvatarPath(String avatarPath) {
        this.avatarPath = avatarPath;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    public int getDislikeCount() {
        return dislikeCount;
    }

    public void setDislikeCount(int dislikeCount) {
        this.dislikeCount = dislikeCount;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(int likeCount) {
        this.likeCount = likeCount;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPostCount() {
        return postCount;
    }

    public void setPostCount(int postCount) {
        this.postCount = postCount;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public User() {
    }

    
    
    @Override
    public String toString() {
        return id + " "+username + " " + password + " " + name
                + " " + email + " " + birthday + " " + gender
                + " " + about + " " + postCount + " " + commentCount
                + " " + likeCount + " " + dislikeCount + " " + avatarPath;
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }
    
    
}
